package cn.itsource.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.itsource.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseDomain {
    /** 店铺名称 */
    @Excel(name = "店铺名称",width = 20)
    private String name;
    /** 联系电话 */
    @Excel(name = "店铺电话",width = 20)
    private String tel;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime = new Date();
    /** 状态 */
    private Integer state = 1;
    /** 店铺地址 */
    @Excel(name = "店铺地址",width = 30)
    private String address;
    /** 店铺logo */
    private String logo;
    /** 店长id */
    private Long admin_id;
    private Employee admin;
}
